package com.example.base.tools.upgrade

import okhttp3.ResponseBody
import retrofit2.http.GET
import retrofit2.http.Header
import retrofit2.http.Streaming
import retrofit2.http.Url

/**  下载服务接口  **/
interface DownloadService {

    /**  断点续传下载新 apk  **/
    @GET
    @Streaming
    suspend fun downloadNewVersionAPK(@Header("RANGE") startPoint: String, @Url url: String): ResponseBody

}